//
//  NSString+XDNumber.m
//  efairy
//
//  Created by XiangDongMBP on 2017/8/26.
//  Copyright © 2017年 East. All rights reserved.
//

#import "NSString+XDNumber.h"

@implementation NSString (XDNumber)
- (NSUInteger)xd_hexStrToInteger {
    unsigned int number;
    [[NSScanner scannerWithString:self] scanHexInt:&number];
    return number;
}
@end
